package com.wang.loanassembly.param.repayPlan;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel("修改还款计划参数类")
@Data
public class ChangeRepayPlan {
    @ApiModelProperty("还款计划id")
    private Integer rsId;

    @ApiModelProperty("贷款id")
    private Integer rsLoanId;


    @ApiModelProperty("还款时间 ，每月固定")
    private LocalDateTime rsRepayTime;


    @ApiModelProperty("还款金额")
    private Double rsRepayAmount;


    @ApiModelProperty("偿还本金")
    private Double rsPrincipal;


    @ApiModelProperty("偿还利息")
    private Double rsInterest;


    @ApiModelProperty("剩余金额")
    private Double rsResidualAmount;


    @ApiModelProperty("剩余利息")
    private Double rsResidualInteres;


    @ApiModelProperty("本期是否按时还款 0 正常还款  1 没有")
    private Integer reRepayState;

}
